image = ~imread('fire32.bmp');
imshow(image);
impixelinfo
contour = bwtraceboundary(image,[60 40],'W',8,Inf,'counterclockwise');
hold on;
plot(contour(:,2),contour(:,1),'g','LineWidth',2);


